SpreadOpenMark
SpreadOpenMark records are created during the end-of-day rotation for each ticker and intended for use the following trading day. BaseObj:Spread
METADATA
| Attribute | Value |
|---|---|
| Topic | 3120-market-marks |
| MLink Token | Internal |
| Product | SRAnalytics |
| accessType | SELECT |
| MLink Endpoint | MLink-Live |
Table Definition
| Field | Type | Key | Default Value | Comment |
|---|---|---|---|---|
| spreadID_ct | enum - ContentKeyType | PRI | 'None' | the content key SPREADCONTENTKEYmd SpreadId tag 15 bytes of the legset hash |
| spreadID_id | VARCHAR(37) | PRI | '' | the content key SPREADCONTENTKEYmd SpreadId tag 15 bytes of the legset hash |
| srClsPrc | DOUBLE | 0 | SR close mark close 1min from previous day | |
| closePrc | DOUBLE | 0 | official exchange closing mark from previous day | |
| bidPrc | DOUBLE | 0 | bid price SR mark from previous day | |
| askPrc | DOUBLE | 0 | ask price SR mark from previous day | |
| timestamp | DATETIME(6) | '1900-01-01 00:00:00.000000' | ||
| ticker_at | enum - AssetType | 'None' | the complex the legs share the first canonical legs for a crosscomplex spread | |
| ticker_ts | enum - TickerSrc | 'None' | the complex the legs share the first canonical legs for a crosscomplex spread | |
| ticker_tk | VARCHAR(12) | '' | the complex the legs share the first canonical legs for a crosscomplex spread | |
| scopeFlags | VARCHAR(255) | 'None' | what the leg set spans MultiTicker crosscomplex |
PRIMARY KEY DEFINITION (Unique)
| Field | Sequence |
|---|---|
| spreadID_ct | 1 |
| spreadID_id | 2 |
SELECT TABLE EXAMPLE QUERY
SELECT *
FROM `SRAnalytics`.`MsgSpreadOpenMark`
WHERE
/* Replace with a ENUM('None','SpreadId','ContractType','Calendar') */
`spreadID_ct` = 'NONE'
AND
/* Replace with a VARCHAR(37) */
`spreadID_id` = 'Example_spreadID_id';
Doc Columns Query
SELECT * FROM SRAnalytics.doccolumns WHERE TABLE_NAME='SpreadOpenMark' ORDER BY ordinal_position ASC;